<script type="text/javascript"> dojo.require("dijit.form.NumberSpinner"); </script>
<input constraints="{places:0}" class='field integer' type='text' dojoType="dijit.form.NumberSpinner" id='{{field.id}}' name='{{field.name}}' value='{% if not field.value %}0{%elseif%}{{field.value|escape}}{%endif%}'>